package com.vhall.component.entity.tag.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import java.io.Serializable;

/**
 * @author guoxin.wang
 * @date 2021-07-05 19:14
 */
@Data
public class TagListVO implements Serializable {

    private static final long serialVersionUID = 1187015279977326922L;

    /**
     * type
     */
    @Min(value = 0, message = "type参数取值范围为0、1")
    @Max(value = 1, message = "type参数取值范围为0、1")
    @ParamName("type")
    private Integer type;

    /**
     * name
     */
    @ParamName("name")
    private String name;

    @ParamName("page")
    private Integer currPage = 1;

    @ParamName("page_size")
    private Integer pageSize = 10;

}
